import random

def generate_test_data(num_children, num_cookies):
    # 生成孩子的胃口值
    g = [random.randint(1, 2**31 - 1) for _ in range(num_children)]
    # 生成饼干的尺寸
    s = [random.randint(1, 2**31 - 1) for _ in range(num_cookies)]
    return g, s

# 生成测试数据
num_children = random.randint(1, 30000)  # 随机生成孩子的数量
num_cookies = random.randint(1, 30000)    # 随机生成饼干的数量
print(f"孩子的数量: {num_children}")
print(f"饼干的数量: {num_cookies}")
g, s = generate_test_data(num_children, num_cookies)
print(f"孩子的胃口值: {g}")
print(f"饼干的尺寸: {s}")